package com.amc.service;

import java.util.List;

import com.amc.dto.ComplaintView;
import com.amc.dto.FoodView;
import com.amc.dto.OrderView;

public interface IOrderService {
	
	// 下單
	boolean placeOrder(OrderView order);
	
	// 查询用户所有订单
	List<OrderView> queryAllOrder(String customerId);
	
	// 查询订单详情
	OrderView queryOrderById(String orderId);
	
	// 确定收货
	boolean receiptOrder(String orderId);
	
	// 取消订单
	boolean cancellOrder(String orderId);
	
	// 投诉
	boolean complaintMerchant(ComplaintView complaint);
	
	FoodView queryFood(String foodId);
	
	//用户取消订单
	boolean refuseOrder(String orderId);
	
	
}
